export const queryBarList = [
  {
    id: 1,
    name: "调窗",
    code: 'windowAdjustment',
    icon: "icon-tiaochuang1",//图标
    type: ['mpr', 'mp4'],
    color: "",
    isActive: false,//高亮
    isVisible: true,//一级面板可见
    suffix: "select",
  },
  {
    id: 2,
    name: "缩放",
    code: 'zoom',
    icon: "icon-gongjusuofang",
    type: ['pic', 'mpr', 'mp4'],
    color: "",
    isActive: false,//高亮
    isVisible: false,
  },
  {
    id: 3,
    name: "移动",
    code: 'move',
    icon: "icon-gongjuyidong",
    type: ["pic", "mpr"],
    color: "",
    isActive: false,//高亮
    isVisible: false,
  },
  {
    id: 4,
    name: "重置",
    code: 'reset',
    icon: "icon-gongjuzhongzhi",
    type: ["pic", "mpr"],
    color: "",
    isActive: false,//高亮
    isVisible: false,
  },
  {
    id: 5,
    name: "尺子",
    code: 'rule',
    icon: "icon-gongjuchangdu",
    type: "pic",
    color: "",
    isActive: false,//高亮
    isVisible: false,
  },
  {
    id: 6,
    name: "删除尺子",
    code: 'delRule',
    icon: "icon-gongjuqingchuchizi",
    type: "pic",
    color: "",
    isActive: false,//高亮
    isVisible: false,
  },
  {
    id: 7,
    name: "十字线",
    code: 'crossHair',
    icon: "icon-gongjushizixian",
    type: "mpr",
    color: "",
    isActive: false,//高亮
    isVisible: false,
  },
  {
    id: 8,
    name: "透明度",
    code: 'transparency',
    icon: "icon-gongjutoumingdu",
    type: "mpr",
    color: "",
    isActive: false,//高亮
    isVisible: false,
  },
  {
    id: 9,
    name: "四角信息",
    code: 'cornerInfo',
    icon: "icon-gongjusijiaoxinxi",
    type: "mpr",
    color: "",
    isActive: true,//高亮
    isVisible: true,
  },
  {
    id: 16,
    name: '追踪',
    code: 'trace',
    icon: 'icon-dingwei',
    type: 'mp4',
    color: '',
    isActive: false, //高亮
    isVisible: true,
  },
]

export const markBarList = [
  {
    id: 10,
    name: '矩形',
    code: 'RECTANGLE',
    icon: 'icon-gongjujuxing',
    toolType: 'RECTANGLE',
    type: "",
    color: "",
    isActive: false,//高亮
    isVisible: false,
  },
  {
    id: 11,
    name: '椭圆',
    code: 'ELLIPSE',
    icon: 'icon-gongjutuoyuan',
    toolType: 'ELLIPSE',
    type: "",
    color: "",
    isActive: false,//高亮
    isVisible: false,
  },
  {
    id: 12,
    name: '闭合曲线',
    code: 'CLOSEDCURVE',
    icon: 'icon-gongjubihequxian',
    toolType: 'CLOSEDCURVE',
    type: "",
    color: "",
    isActive: false,//高亮
    isVisible: false,
  },
  {
    id: 13,
    name: '自由画笔',
    code: 'FREEHAND_DAUBER',
    icon: 'icon-gongjuziyouhuabi',
    toolType: 'FREEHAND_DAUBER',
    type: "",
    color: "",
    isActive: false,//高亮
    isVisible: false
  },
  {
    id: 14,
    name: '橡皮擦',
    code: 'eraser',
    icon: 'icon-gongjuxiangpica',
    toolType: 'FREEHAND_DAUBER',
    type: "",
    color: "",
    isActive: false,//高亮
    isVisible: false
  },
  {
    id: 15,
    name: '长方体',
    code: 'CUBOID',
    icon: 'icon-gongjuchangfangti',
    toolType: 'CUBOID',
    type: "",
    color: "",
    isActive: false,//高亮
    isVisible: false
  },
  {
    id: 17,
    name: '闭合画笔',
    code: 'FREEHANDLINECLOSED',
    icon: 'icon-gongjuziyouhuabi',
    toolType: 'FREEHANDLINECLOSED',
    type: "",
    color: "",
    isActive: false,//高亮
    isVisible: false
  }
]

// 重置型按钮集合
export const resetList = ["reset", "delRule"];
// 开关型集合
export const switchList = ['windowAdjustment', 'zoom', 'move', 'rule', 'RECTANGLE', 'ELLIPSE', 'CLOSEDCURVE', 'FREEHAND_DAUBER', 'eraser', 'CUBOID', 'FREEHANDLINECLOSED', 'cornerInfo','crossHair','transparency'];
// 左键互斥集合 code
export const merList = ['windowAdjustment', 'zoom', 'move', 'rule', 'RECTANGLE', 'ELLIPSE', 'CLOSEDCURVE', 'FREEHAND_DAUBER', 'eraser', 'CUBOID', 'FREEHANDLINECLOSED']
// 只存在病灶面板集合
export const lesionList = ['RECTANGLE', 'ELLIPSE', 'CLOSEDCURVE', 'FREEHANDLINECLOSED'];
// 带滑块的工具集合
export const actionLesionList = ['FREEHAND_DAUBER', 'eraser', 'CUBOID'];
// 自由画笔集合
export const burshList = ['FREEHAND_DAUBER', 'eraser'];
// const allList = queryBarList.concat(markBarList);
// 开关集合
// export const switchList = allList.map(item => item.code);
